//
// Created by Administrator on 2022/11/5.
//

#include <iostream>

using namespace std;

int main()
{
    struct student
    {
        string name;
        int age;
        int num;
    };

    student stu1 = {"Nasa", 11, 26};
    student stu2 = {"nick", 7, 41};
    student stus[2] = {stu1, stu2};
    for (int i = 0; i < 2; ++i)
    {
        printf("name: %s\n", stus[i].name.c_str());
    }
}
